home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13510 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  2.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
10% dexvert Text File (text/txt) fallback Supported
100% file ISO-8859 text default (weak)
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 2c | 63 6f 6d 70 2e 6c 61 6e |.lang.c,|comp.lan|
|00000020| 67 2e 70 61 73 63 61 6c | 2e 6d 69 73 63 2c 68 6b |g.pascal|.misc,hk|
|00000030| 75 2e 63 73 2e 6f 70 65 | 6e 2d 66 6f 72 75 6d 0a |u.cs.ope|n-forum.|
|00000040| 50 61 74 68 3a 20 68 6b | 75 73 75 63 2e 68 6b 75 |Path: hk|usuc.hku|
|00000050| 2e 68 6b 21 75 73 65 6e | 65 74 0a 46 72 6f 6d 3a |.hk!usen|et.From:|
|00000060| 20 22 4c 65 65 20 43 68 | 75 6e 20 4b 77 6f 6b 20 | "Lee Ch|un Kwok |
|00000070| a7 f5 ae 6d b0 ea 22 20 | 3c 68 39 35 30 34 33 36 |...m.." |<h950436|
|00000080| 37 40 68 6b 75 65 65 65 | 2e 68 6b 75 2e 68 6b 3e |7@hkueee|.hku.hk>|
|00000090| 0a 53 75 62 6a 65 63 74 | 3a 20 52 65 3a 20 43 20 |.Subject|: Re: C |
|000000a0| 76 73 20 50 61 73 63 61 | 6c 0a 58 2d 4e 6e 74 70 |vs Pasca|l.X-Nntp|
|000000b0| 2d 50 6f 73 74 69 6e 67 | 2d 48 6f 73 74 3a 20 73 |-Posting|-Host: s|
|000000c0| 6c 69 70 30 36 2e 65 65 | 65 2e 68 6b 75 2e 68 6b |lip06.ee|e.hku.hk|
|000000d0| 0a 43 6f 6e 74 65 6e 74 | 2d 54 79 70 65 3a 20 74 |.Content|-Type: t|
|000000e0| 65 78 74 2f 70 6c 61 69 | 6e 3b 20 63 68 61 72 73 |ext/plai|n; chars|
|000000f0| 65 74 3d 75 73 2d 61 73 | 63 69 69 0a 4d 65 73 73 |et=us-as|cii.Mess|
|00000100| 61 67 65 2d 49 44 3a 20 | 3c 44 70 49 77 4b 32 2e |age-ID: |<DpIwK2.|
|00000110| 33 75 4a 2e 30 2e 2d 73 | 40 68 6b 75 73 75 63 2e |3uJ.0.-s|@hkusuc.|
|00000120| 68 6b 75 2e 68 6b 3e 0a | 54 6f 3a 20 61 77 6f 6e |hku.hk>.|To: awon|
|00000130| 67 40 63 73 64 2e 68 6b | 75 2e 68 6b 0a 53 65 6e |g@csd.hk|u.hk.Sen|
|00000140| 64 65 72 3a 20 75 73 65 | 6e 65 74 40 68 6b 75 73 |der: use|net@hkus|
|00000150| 75 63 2e 68 6b 75 2e 68 | 6b 0a 43 6f 6e 74 65 6e |uc.hku.h|k.Conten|
|00000160| 74 2d 54 72 61 6e 73 66 | 65 72 2d 45 6e 63 6f 64 |t-Transf|er-Encod|
|00000170| 69 6e 67 3a 20 71 75 6f | 74 65 64 2d 70 72 69 6e |ing: quo|ted-prin|
|00000180| 74 61 62 6c 65 0a 4f 72 | 67 61 6e 69 7a 61 74 69 |table.Or|ganizati|
|00000190| 6f 6e 3a 20 54 68 65 20 | 55 6e 69 76 65 72 73 69 |on: The |Universi|
|000001a0| 74 79 20 6f 66 20 48 6f | 6e 67 20 4b 6f 6e 67 0a |ty of Ho|ng Kong.|
|000001b0| 52 65 66 65 72 65 6e 63 | 65 73 3a 20 3c 34 6b 38 |Referenc|es: <4k8|
|000001c0| 76 72 6f 24 73 70 34 40 | 6e 73 2e 63 73 2e 68 6b |vro$sp4@|ns.cs.hk|
|000001d0| 75 2e 68 6b 3e 0a 4d 69 | 6d 65 2d 56 65 72 73 69 |u.hk>.Mi|me-Versi|
|000001e0| 6f 6e 3a 20 31 2e 30 0a | 44 61 74 65 3a 20 4d 6f |on: 1.0.|Date: Mo|
|000001f0| 6e 2c 20 38 20 41 70 72 | 20 31 39 39 36 20 30 33 |n, 8 Apr| 1996 03|
|00000200| 3a 30 34 3a 35 30 20 47 | 4d 54 0a 58 2d 4d 61 69 |:04:50 G|MT.X-Mai|
|00000210| 6c 65 72 3a 20 4d 6f 7a | 69 6c 6c 61 20 31 2e 32 |ler: Moz|illa 1.2|
|00000220| 4e 20 28 57 69 6e 64 6f | 77 73 3b 20 49 3b 20 31 |N (Windo|ws; I; 1|
|00000230| 36 62 69 74 29 0a 0a 61 | 77 6f 6e 67 40 63 73 64 |6bit)..a|wong@csd|
|00000240| 2e 68 6b 75 2e 68 6b 20 | 28 42 65 79 6f 6e 64 29 |.hku.hk |(Beyond)|
|00000250| 20 77 72 6f 74 65 3a 0a | 0a 3e 49 20 61 6d 20 61 | wrote:.|.>I am a|
|00000260| 20 73 74 75 64 65 6e 74 | 20 66 72 6f 6d 20 6f 74 | student| from ot|
|00000270| 68 65 72 20 66 61 63 75 | 6c 74 79 20 74 61 6b 65 |her facu|lty take|
|00000280| 6e 20 6f 6e 65 20 6f 66 | 20 79 6f 75 72 20 63 6f |n one of| your co|
|00000290| 75 72 73 65 20 69 6e 20 | 43 53 20 64 65 70 61 72 |urse in |CS depar|
|000002a0| 74 6d 65 6e 74 2e 20 57 | 68 65 6e 20 49 20 77 65 |tment. W|hen I we|
|000002b0| 6e 74 20 74 68 72 6f 27 | 20 74 68 65 20 70 61 73 |nt thro'| the pas|
|000002c0| 74 20 70 61 70 65 72 2c | 20 49 20 63 61 6d 65 20 |t paper,| I came |
|000002d0| 61 63 72 6f 73 73 20 61 | 20 68 65 61 64 3d 0a 61 |across a| head=.a|
|000002e0| 63 68 65 2e 20 54 68 65 | 20 71 75 65 73 74 69 6f |che. The| questio|
|000002f0| 6e 20 69 73 20 22 43 20 | 69 73 20 61 20 62 65 74 |n is "C |is a bet|
|00000300| 74 65 72 20 6c 61 6e 67 | 75 61 67 65 20 74 68 61 |ter lang|uage tha|
|00000310| 6e 20 50 61 73 63 61 6c | 20 69 6e 20 74 68 65 20 |n Pascal| in the |
|00000320| 73 65 6e 73 65 20 74 68 | 61 74 20 69 74 20 69 73 |sense th|at it is|
|00000330| 20 6d 6f 72 65 20 73 74 | 72 75 63 74 75 72 65 64 | more st|ructured|
|00000340| 2e 20 43 6f 6d 6d 65 6e | 74 20 6f 6e 20 74 68 69 |. Commen|t on thi|
|00000350| 73 2e 22 2e 20 0a 3e 4f | 68 2c 20 49 20 61 6d 20 |s.". .>O|h, I am |
|00000360| 6e 6f 74 20 66 61 6d 69 | 6c 69 61 72 20 77 69 74 |not fami|liar wit|
|00000370| 68 20 43 2c 20 61 73 20 | 77 65 6c 6c 20 61 73 20 |h C, as |well as |
|00000380| 50 61 73 63 61 6c 2e 20 | 41 6c 73 6f 2c 20 49 20 |Pascal. |Also, I |
|00000390| 64 6f 6e 27 74 20 75 6e | 64 65 72 73 74 61 6e 64 |don't un|derstand|
|000003a0| 20 74 68 65 20 6d 65 61 | 6e 69 6e 67 20 6f 66 20 | the mea|ning of |
|000003b0| 22 73 74 72 75 63 74 75 | 72 65 64 22 2e 20 48 6f |"structu|red". Ho|
|000003c0| 77 20 63 61 6e 20 49 20 | 61 6e 73 77 65 72 20 74 |w can I |answer t|
|000003d0| 68 65 20 71 75 65 73 74 | 69 6f 3d 0a 6e 2e 20 53 |he quest|io=.n. S|
|000003e0| 6f 2c 20 61 6e 79 20 63 | 6f 6d 70 75 74 65 72 20 |o, any c|omputer |
|000003f0| 65 78 70 65 72 74 20 63 | 61 6e 20 67 69 76 65 20 |expert c|an give |
|00000400| 6d 65 20 73 6f 6d 65 20 | 62 72 69 65 66 20 69 64 |me some |brief id|
|00000410| 65 61 20 6f 6e 20 61 62 | 6f 76 65 20 74 6f 70 69 |ea on ab|ove topi|
|00000420| 63 2e 20 49 20 63 61 6e | 20 74 68 65 6e 20 68 65 |c. I can| then he|
|00000430| 6e 63 65 20 67 65 6e 65 | 72 61 6c 69 7a 65 20 79 |nce gene|ralize y|
|00000440| 6f 75 72 20 67 75 79 73 | 2f 67 61 6c 73 20 69 64 |our guys|/gals id|
|00000450| 65 61 20 61 6e 64 20 67 | 65 74 20 74 68 65 20 61 |ea and g|et the a|
|00000460| 3d 0a 6e 73 77 65 72 2e | 0a 3e 54 68 61 6e 6b 73 |=.nswer.|.>Thanks|
|00000470| 20 69 6e 20 61 64 76 61 | 6e 63 65 2e 0a 0a 57 65 | in adva|nce...We|
|00000480| 6c 6c 2c 20 74 68 65 20 | 66 69 72 73 74 20 74 68 |ll, the |first th|
|00000490| 69 6e 67 20 69 73 20 74 | 68 61 74 20 74 68 65 20 |ing is t|hat the |
|000004a0| 6e 65 77 73 67 72 6f 75 | 70 20 68 6b 75 2e 63 63 |newsgrou|p hku.cc|
|000004b0| 2e 66 6f 72 75 6d 20 69 | 73 20 6e 6f 74 20 74 68 |.forum i|s not th|
|000004c0| 65 20 70 6c 61 63 65 20 | 0a 74 6f 20 61 73 6b 20 |e place |.to ask |
|000004d0| 74 68 69 73 20 71 75 65 | 73 74 69 6f 6e 2c 20 73 |this que|stion, s|
|000004e0| 6f 20 49 20 63 72 6f 73 | 73 70 6f 73 74 20 74 68 |o I cros|spost th|
|000004f0| 69 73 20 61 72 74 69 63 | 6c 65 20 74 6f 20 74 68 |is artic|le to th|
|00000500| 65 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 0a 6e |e approp|riate .n|
|00000510| 65 77 73 67 72 6f 75 70 | 73 2e 20 0a 0a 54 68 69 |ewsgroup|s. ..Thi|
|00000520| 73 20 61 72 74 69 63 6c | 65 20 6d 61 79 20 73 74 |s articl|e may st|
|00000530| 61 72 74 20 61 20 77 61 | 72 20 6f 6e 20 74 68 6f |art a wa|r on tho|
|00000540| 73 65 20 6e 65 77 73 67 | 72 6f 75 70 20 28 3a 29 |se newsg|roup (:)|
|00000550| 29 2e 20 42 75 74 20 70 | 65 72 73 6f 6e 61 6c 6c |). But p|ersonall|
|00000560| 79 20 49 20 0a 74 68 69 | 6e 6b 20 74 68 65 20 73 |y I .thi|nk the s|
|00000570| 74 61 74 65 6d 65 6e 74 | 20 69 73 20 6e 6f 74 20 |tatement| is not |
|00000580| 74 72 75 65 2e 20 42 6f | 74 68 20 6c 61 6e 67 75 |true. Bo|th langu|
|00000590| 61 67 65 73 20 61 72 65 | 20 73 74 72 75 63 74 75 |ages are| structu|
|000005a0| 72 61 6c 20 0a 6c 61 6e | 67 75 61 67 65 73 2c 20 |ral .lan|guages, |
|000005b0| 62 75 74 20 69 74 20 73 | 65 65 6d 73 20 74 68 61 |but it s|eems tha|
|000005c0| 74 20 50 61 73 63 61 6c | 20 69 73 20 6d 6f 72 65 |t Pascal| is more|
|000005d0| 20 73 74 72 75 63 74 75 | 72 65 64 20 74 68 61 6e | structu|red than|
|000005e0| 20 43 2c 20 72 61 74 68 | 65 72 2e 20 0a 43 27 73 | C, rath|er. .C's|
|000005f0| 20 73 74 72 65 6e 74 68 | 20 72 65 6c 69 65 73 20 | strenth| relies |
|00000600| 6f 6e 20 69 74 73 20 6c | 6f 77 2d 6c 65 76 65 6c |on its l|ow-level|
|00000610| 20 63 61 70 61 62 69 6c | 69 74 69 65 73 2e 20 46 | capabil|ities. F|
|00000620| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 79 6f 75 20 |or examp|le, you |
|00000630| 63 61 6e 20 0a 68 61 6e | 64 6c 65 20 70 6f 69 6e |can .han|dle poin|
|00000640| 74 65 72 73 20 77 69 74 | 68 20 65 61 73 65 20 61 |ters wit|h ease a|
|00000650| 6e 64 20 64 6f 20 70 6f | 69 6e 74 65 72 20 61 72 |nd do po|inter ar|
|00000660| 69 74 68 6d 65 74 69 63 | 73 2e 20 59 6f 75 20 63 |ithmetic|s. You c|
|00000670| 61 6e 20 74 72 65 61 74 | 20 61 6e 20 0a 61 72 72 |an treat| an .arr|
|00000680| 61 79 20 75 73 69 6e 67 | 20 70 6f 69 6e 74 65 72 |ay using| pointer|
|00000690| 73 2e 20 57 69 74 68 20 | 70 61 73 63 61 6c 2c 20 |s. With |pascal, |
|000006a0| 79 6f 75 20 63 61 6e 20 | 68 61 72 64 6c 79 20 64 |you can |hardly d|
|000006b0| 6f 20 74 68 69 73 2e 20 | 42 75 74 20 77 69 74 68 |o this. |But with|
|000006c0| 20 0a 70 61 73 63 61 6c | 2c 20 79 6f 75 20 63 61 | .pascal|, you ca|
|000006d0| 6e 20 68 61 76 65 20 70 | 72 6f 63 65 64 75 72 65 |n have p|rocedure|
|000006e0| 73 20 69 6e 73 69 64 65 | 20 70 72 6f 63 65 64 75 |s inside| procedu|
|000006f0| 72 65 73 20 28 3c 3d 3d | 20 69 73 20 74 68 69 73 |res (<==| is this|
|00000700| 20 73 74 61 6e 64 61 72 | 64 20 0a 70 61 73 63 61 | standar|d .pasca|
|00000710| 6c 3f 20 49 27 6d 20 75 | 73 69 6e 67 20 42 6f 72 |l? I'm u|sing Bor|
|00000720| 6c 61 6e 64 29 2c 20 61 | 6e 64 20 6f 74 68 65 72 |land), a|nd other|
|00000730| 20 74 68 69 6e 67 73 20 | 6c 69 6b 65 20 74 68 61 | things |like tha|
|00000740| 74 2e 20 59 6f 75 20 64 | 6f 6e 27 74 20 68 61 76 |t. You d|on't hav|
|00000750| 65 20 0a 22 62 72 65 61 | 6b 22 2c 20 22 63 6f 6e |e ."brea|k", "con|
|00000760| 74 69 6e 75 65 22 20 69 | 6e 20 73 74 61 6e 64 61 |tinue" i|n standa|
|00000770| 72 64 20 50 61 73 63 61 | 6c 2e 0a 0a 43 6f 72 72 |rd Pasca|l...Corr|
|00000780| 65 63 74 20 6d 65 20 69 | 66 20 61 6e 79 74 68 69 |ect me i|f anythi|
|00000790| 6e 67 20 69 73 20 77 72 | 6f 6e 67 2e 0a 0a 52 65 |ng is wr|ong...Re|
|000007a0| 67 61 72 64 73 2e 0a 0a | 2d 2d 20 0a 2f 2f 2f 2f |gards...|-- .////|
|000007b0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000007c0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 0a 22 2d 2d 20 |////////|///."-- |
|000007d0| 20 20 7c 20 2f 20 20 20 | 7c 20 20 20 20 20 22 2d | | / || "-|
|000007e0| 2d 20 20 20 22 2d 2d 20 | 20 20 20 20 4c 65 65 20 |- "-- | Lee |
|000007f0| 43 68 75 6e 20 4b 77 6f | 6b 20 20 20 20 20 20 20 |Chun Kwo|k |
|00000800| 20 20 20 20 48 6f 6e 67 | 20 4b 6f 6e 67 20 20 20 | Hong| Kong |
|00000810| 0a 7c 20 20 20 20 20 7c | 3d 20 20 20 20 7c 20 20 |.| ||= | |
|00000820| 20 20 20 7c 2d 2d 20 20 | 20 7c 2d 2d 20 20 20 20 | |-- | |-- |
|00000830| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -------|--------|
|00000840| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000850| 2d 2d 20 20 20 0a 5c 5f | 5f 20 20 20 7c 20 5c 20 |-- .\_|_ | \ |
|00000860| 20 20 5c 5f 5f 20 20 20 | 5c 5f 5f 20 20 20 5c 5f | \__ |\__ \_|
|00000870| 5f 20 20 20 20 20 6d 61 | 69 6c 74 6f 3a 68 39 35 |_ ma|ilto:h95|
|00000880| 30 34 33 36 37 40 68 6b | 75 65 65 65 2e 68 6b 75 |04367@hk|ueee.hku|
|00000890| 2e 68 6b 0a 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |.hk.////|////////|
|000008a0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000008b0| 2f 2f 2f 20 68 74 74 70 | 3a 2f 2f 77 77 77 2e 65 |/// http|://www.e|
|000008c0| 65 65 2e 68 6b 75 2e 68 | 6b 2f 7e 68 39 35 30 34 |ee.hku.h|k/~h9504|
|000008d0| 33 36 37 0a 0a 0a | |367... | |
+--------+-------------------------+-------------------------+--------+--------+